<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue/axios.js"></script>
</head>
<body>
<input type="button" value="获取" id="btn">
</body>
</html>
<script>
    var btn = document.getElementById("btn");

    btn.onclick=function () {
        axios.get("http://127.0.0.1:9090/label").then(function (rest) {
            console.log(rest.data)
        })
    }

</script>